home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Conversion
/
Convert_PICT
/
Testing
/
hex_tests
/
rects=misc.hex
< prev
next >
Wrap
Text File
|
1992-11-01
|
2KB
|
47 lines
% header
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
% end of app-specific header
00FF 0000 0000 00FF 00FF % pict size (bogus) and top left bottom right
11 01 % verson
01 000A 0000 0000 00FF 00FF % Clip region. Added to keep Mac tester happy.
30 0000 0000 00FF 00FF % draw bounding rect
02 AA AA AA AA AA AA AA AA % fill pat
09 FF FF FF FF FF FF FF FF % pn pat
0A AA 55 AA 55 AA 55 AA 55 % back pat
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Test miscellaneous aspects of rectangles:
% Position one in a negative area partially off screen
% Place on so it's upper right corner is below it's lower left corner
% Like above, but only one side.
% Draw an elongated one off center of the area to confirm we aren't flipping
% any axes.
% Also, try one with different penwidths and height.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% paint a rectangle partially off screen
31 FFC0 FFC0 0030 0030
% Erase one with reversed coords
33 0060 0070 0040 0040
% Erase Another, but only put left to the right or right
33 0080 00A0 00C0 0080
% fill an elongated one off to the lower right
34 0070 00C0 00F0 00E0
% Now, Make the pen very rectangular (not square) (very tall, not very wide)
07 0004 0014
% frame a different elongated one off to the bottom left
30 00C0 0020 00F8 00B0
FF % end